package com.culturalCenter.dataCenter.service.training;

import com.culturalCenter.dataCenter.customEntity.responseParam.training.TrainingInfoDetailResponse;
import com.culturalCenter.dataCenter.customEntity.responseParam.training.TrainingListResponse;
import com.culturalCenter.dataCenter.customEntity.responseParam.training.TrainingMenuResponse;
import com.culturalCenter.dataCenter.customEntity.training.CustomTrainingInfo;
import com.culturalCenter.dataCenter.entity.training.Training;
import com.culturalCenter.dataCenter.vo.TrainingDatartVo;

import java.util.List;
import java.util.Map;

/**
 * @author : weicai
 * @date : 11:01 2020/9/22
 */
public interface TrainingService {

    /**
     * 培训首页
     *
     * @return
     */
    TrainingMenuResponse getTrainingMenu(String branchId, String startDate, String endDate,String type);

    /**
     * 获取培训列表，实现搜索、状态筛选功能
     *
     * @param keywords
     * @param status
     * @param branchId
     * @param pageNum
     * @param pageSize
     *
     * @return
     */
    TrainingListResponse getTrainingList(String keywords, String status, String branchId, int pageNum, int pageSize);

    /**
     * 获取培训课程详情
     *
     * @param trainingId
     *
     * @return
     */
    TrainingInfoDetailResponse getTrainingInfoDetail(String trainingId);

    /**
     * 时间轴-申请表格详情
     * @param trainingId
     * @return
     */
    TrainingInfoDetailResponse getTrainingInfoTableDetail(String trainingId);

    /**
     * 获取培训课程基本信息
     *
     * @param trainingId
     *
     * @return
     */
    CustomTrainingInfo getTrainingInfo(String trainingId);

    List<TrainingDatartVo> getTrainingTable();

    Map getResource();
}
